HVM vcpu add/remove: parse 'vcpu_avail' to firmware and set up madt
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 14 Dec 2009 09:25:47 +0000 (09:25 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 14 Dec 2009 09:25:47 +0000 (09:25 +0000)
commitcf75018188a69a792bf47412bbe078e8728b467c
tree3b17bd0f13a7162ca3d2a244907fabdc61b225fc
parentc70ad37a1f7c1c96e84dda62656a2cd2c4168b05
HVM vcpu add/remove: parse 'vcpu_avail' to firmware and set up madt
accordingly

-- currently firmware has got 'vcpus' from xend, this patch add parse
   'vcpu_avail' to firmware;
-- setup madt 'lapic' subitems of processors accoring to vcpus and
   vcpu_avail which finally come from config;

Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/firmware/hvmloader/acpi/build.c
tools/firmware/hvmloader/config.h
tools/firmware/hvmloader/util.h
tools/python/xen/lowlevel/xc/xc.c
tools/python/xen/xend/image.py
xen/include/public/hvm/hvm_info_table.h